package storage

import (
	"booking-service/internal/models"
	"time"
)

type OrderStorage interface {
	CreateOrder(order models.Order) error
	GetOrders() []models.Order
}

type RoomAvailabilityStorage interface {
	GetAvailability(hotelID, roomID string, date time.Time) (models.RoomAvailability, error)
	UpdateAvailability(hotelID, roomID string, date time.Time, quota int) error
}
